package com.lqq.sparrow.invoke.provider;

import java.util.ServiceLoader;

public class SPIMain {

    public static void main(String[] args) {
        ServiceLoader<Server> shouts = ServiceLoader.load(Server.class);
        for (Server s : shouts) {
            //s.shout();
            System.out.println(s);
        }
    }
}
